<div class="user_wrap">
    <!--用户信息-->
    <div class="js_user_con">
        <div class="common_userInfo">
            <div class="userInfo_box">
                <div class="userInfo_conn">
                    <div class="userInfo_name">
                        <empty name="user">
                        您好,
                        <a href="{$login_url}">[登录]</a>
                        <a href="{$reg_url}">[注册]</a>
                        <else />
                        您好 , {$user.user_name}<br /><a href="javascript:;" id="logout">[注销]</a>
                        </empty>
                    </div>
                </div>
            </div>
        </div>
        <!--用户信息-->
        <empty name="user">
            <php>$style = ' style="display:none;"';</php>
        <else />
            <php>$style = '';</php>
        </empty>
        <div class="user_account"{$style}>
            <div class="tt">账户余额：</div>
            <ul class="account_info">
                <li><span><em><i class="ico_ico ico_360"></i>通币余额&nbsp; </em><i class="js_refresh_con" style="">&nbsp;&nbsp;&nbsp;<b id="tb_acc" class="tb c_org">{$user.user_tb}</b>&nbsp;通币</i></span></li>
                <li><span><em><i class="ico_ico ico_360"></i>通豆余额&nbsp; </em>&nbsp;&nbsp;&nbsp;<b id="cash_acc" class="cash c_org">{$user.user_ye}</b>&nbsp;通豆</span></li>
            </ul>
        </div>
    </div>
</div>